package cn.rongdao.jrkabao.ui.main.mainfragment.adapter;

import android.view.View;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerViewHolder;

import cn.rongdao.jrkabao.bean.main.vip.MemberBean;
import cn.rongdao.jrkabao.ui.main.mainfragment.uicomponent.ItemVipUIComponent;


/**
 * Created by jack on 2018/1/26
 */

public class VipViewHolder extends FRBaseRecyclerViewHolder<MemberBean.VipConfigBean> {

    private ItemVipUIComponent itemVipUIComponent;

    public VipViewHolder(View view) {
        super(view);
        itemVipUIComponent = (ItemVipUIComponent) view;
    }

    @Override
    protected void onItemDataUpdated(MemberBean.VipConfigBean vipConfigBean) {
        itemVipUIComponent.setContent(vipConfigBean);
    }
}
